import { ecs } from 'db://app-game/libs/ecs/ECS';
import { RoleUpperBodyStateEnum } from '../Role.type';

/** 角色状态层级组件 */
@ecs.register('RoleModelState')
export class RoleModelStateComp extends ecs.Comp {
  /** 释放技能 */
  // releaseSkill: number;
  /** 移动层级 */
  moveAnimationList = [
    RoleUpperBodyStateEnum.Idle,
    RoleUpperBodyStateEnum.Walk,
    RoleUpperBodyStateEnum.Run,
  ];

  /** 攻击层级 */
  attackAnimationList = [RoleUpperBodyStateEnum.Attack];

  /** 技能层级 */
  skillAnimationList = [RoleUpperBodyStateEnum.SkillQuick];

  /** 死亡层级 */
  // deathAnimationList = [RoleUpperBodyStateEnum.Death];

  reset(entity: ecs.Entity): void {}
}
